
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft HTML Help Workshop 4.0">
<title>To link to a topic in a compiled help file from a Web page or topic file</title>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
</head>

<body>

<H1>To link to a topic in a compiled help file from a Web page or topic file 
</H1>
<UL>
<LI>To link to a topic in a compiled help file that is located on an Internet or intranet Web site, create a link using the following syntax:<BR><CODE>&lt;A HREF="ms-its:http://www.sample.com/filename.chm::/topic.htm&gt;Link Text Here&lt;/a&gt;</CODE>. This will work on any HTML Web page or help topic.

<P>

<LI>To link to a topic in a compiled help file that is stored on a local computer, create a link using the following syntax:<BR><BR><CODE>&lt;A HREF="ms-its:C:\filename.chm::/topic.htm"&gt;Link Text Here&lt;/a&gt;</CODE><BR><BR>The complete local path must be specified. In this example, the target file is located on the root of the C:\ drive.

</UL>

<P>In these examples, <CODE>filename.chm</CODE> is the name of the compiled help file and <CODE>topic.htm</CODE> is the name of the topic to which you want to link. 

<H3>Notes</H3>
<UL>
  <LI>Use this procedure if you want to pull a single topic from a compiled help 
  file. You can also create a link that will <A 
  href="http://msdn.microsoft.com/library/tools/htmlhelp/chm/chmweb.htm">download 
  the entire help file</A>. 
  <LI>The MS-ITS protocol works with Microsoft Internet Explorer 4.0 or later. 
  If your users are running Internet Explorer 3.0, they need to use the 
  following protocol, which also works with later versions of the browser: 
  <CODE>mk:@MSITStore:file name.chm::/topic.htm</CODE>.
  </LI></UL>
<TABLE cellSpacing=0 cellPadding=0 border=0>
  <TBODY>

<tr> <td valign="top"><a href="htlink2.htm"><img src="home.gif" alt="Home page link" border="0"></a>
</td><td><a href="htlink2.htm">About creating a link to another compiled help file</A>
</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

</body>
</html>
